Repetier-Firmware  1.0.0
Configuration_irapid_dual.h
Go to the documentation of this file.
1 /*
2  This file is part of Repetier-Firmware.
3 
4  Repetier-Firmware is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  Repetier-Firmware is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with Repetier-Firmware. If not, see <http://www.gnu.org/licenses/>.
16 
17 */
18 
19 #ifndef CONFIGURATION_H
20 #define CONFIGURATION_H
21 
22 /**************** READ FIRST ************************
23 
24  This configuration file was created with the configuration tool. For that
25  reason, it does not contain the same informations as the original Configuration.h file.
26  It misses the comments and unused parts. Open this file file in the config tool
27  to see and change the data. You can also upload it to newer/older versions. The system
28  will silently add new options, so compilation continues to work.
29 
30  This file is optimized for version 0.92
31  generator: http://www.repetier.com/firmware/v092/
32 
33  If you are in doubt which named functions use which pins on your board, please check the
34  pins.h for the used name->pin assignments and your board documentation to verify it is
35  as you expect.
36 
37 */
38 
39 #define NUM_EXTRUDER 2
40 #define MOTHERBOARD 33
41 #include "pins.h"
42 
43 // ################## EDIT THESE SETTINGS MANUALLY ################
44 // ################ END MANUAL SETTINGS ##########################
45 
46 #undef FAN_PIN
47 #define FAN_PIN 8
48 #undef FAN_BOARD_PIN
49 #define FAN_BOARD_PIN -1
50 
51 //#define EXTERNALSERIAL use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
52 // Uncomment the following line if you are using arduino compatible firmware made for Arduino version earlier then 1.0
53 // If it is incompatible you will get compiler errors about write functions not beeing compatible!
54 //#define COMPAT_PRE1
55 #define BLUETOOTH_SERIAL -1
56 #define BLUETOOTH_BAUD 115200
57 #define MIXING_EXTRUDER 0
58 
59 #define DRIVE_SYSTEM 0
60 #define XAXIS_STEPS_PER_MM 102
61 #define YAXIS_STEPS_PER_MM 102
62 #define ZAXIS_STEPS_PER_MM 102
63 #define EXTRUDER_FAN_COOL_TEMP 50
64 #define PDM_FOR_EXTRUDER 1
65 #define PDM_FOR_COOLER 1
66 #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
67 #define DECOUPLING_TEST_MIN_TEMP_RISE 1
68 #define KILL_IF_SENSOR_DEFECT 0
69 #define RETRACT_ON_PAUSE 2
70 #define PAUSE_START_COMMANDS ""
71 #define PAUSE_END_COMMANDS ""
72 #define EXT0_X_OFFSET -2142
73 #define EXT0_Y_OFFSET 0
74 #define EXT0_Z_OFFSET 0
75 #define EXT0_STEPS_PER_MM 150
76 #define EXT0_TEMPSENSOR_TYPE 1
77 #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
78 #define EXT0_HEATER_PIN HEATER_0_PIN
79 #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
80 #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
81 #define EXT0_INVERSE 0
82 #define EXT0_ENABLE_PIN E0_ENABLE_PIN
83 #define EXT0_ENABLE_ON 0
84 #define EXT0_MAX_FEEDRATE 100
85 #define EXT0_MAX_START_FEEDRATE 50
86 #define EXT0_MAX_ACCELERATION 10000
87 #define EXT0_HEAT_MANAGER 3
88 #define EXT0_WATCHPERIOD 1
89 #define EXT0_PID_INTEGRAL_DRIVE_MAX 200
90 #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
91 #define EXT0_PID_PGAIN_OR_DEAD_TIME 4.5
92 #define EXT0_PID_I 2
93 #define EXT0_PID_D 40
94 #define EXT0_PID_MAX 225
95 #define EXT0_ADVANCE_K 0
96 #define EXT0_ADVANCE_L 0
97 #define EXT0_ADVANCE_BACKLASH_STEPS 0
98 #define EXT0_WAIT_RETRACT_TEMP 150
99 #define EXT0_WAIT_RETRACT_UNITS 0
100 #define EXT0_SELECT_COMMANDS ""
101 #define EXT0_DESELECT_COMMANDS ""
102 #define EXT0_EXTRUDER_COOLER_PIN -1
103 #define EXT0_EXTRUDER_COOLER_SPEED 255
104 #define EXT0_DECOUPLE_TEST_PERIOD 20000
105 #define EXT0_JAM_PIN -1
106 #define EXT0_JAM_PULLUP 0
107 #define EXT1_X_OFFSET 2142
108 #define EXT1_Y_OFFSET 0
109 #define EXT1_Z_OFFSET 0
110 #define EXT1_STEPS_PER_MM 150
111 #define EXT1_TEMPSENSOR_TYPE 1
112 #define EXT1_TEMPSENSOR_PIN TEMP_1_PIN
113 #define EXT1_HEATER_PIN HEATER_2_PIN
114 #define EXT1_STEP_PIN ORIG_E1_STEP_PIN
115 #define EXT1_DIR_PIN ORIG_E1_DIR_PIN
116 #define EXT1_INVERSE 0
117 #define EXT1_ENABLE_PIN E1_ENABLE_PIN
118 #define EXT1_ENABLE_ON 0
119 #define EXT1_MAX_FEEDRATE 100
120 #define EXT1_MAX_START_FEEDRATE 50
121 #define EXT1_MAX_ACCELERATION 10000
122 #define EXT1_HEAT_MANAGER 3
123 #define EXT1_WATCHPERIOD 1
124 #define EXT1_PID_INTEGRAL_DRIVE_MAX 200
125 #define EXT1_PID_INTEGRAL_DRIVE_MIN 40
126 #define EXT1_PID_PGAIN_OR_DEAD_TIME 4.5
127 #define EXT1_PID_I 2
128 #define EXT1_PID_D 40
129 #define EXT1_PID_MAX 225
130 #define EXT1_ADVANCE_K 0
131 #define EXT1_ADVANCE_L 0
132 #define EXT1_ADVANCE_BACKLASH_STEPS 0
133 #define EXT1_WAIT_RETRACT_TEMP 150
134 #define EXT1_WAIT_RETRACT_UNITS 0
135 #define EXT1_SELECT_COMMANDS ""
136 #define EXT1_DESELECT_COMMANDS ""
137 #define EXT1_EXTRUDER_COOLER_PIN -1
138 #define EXT1_EXTRUDER_COOLER_SPEED 255
139 #define EXT1_DECOUPLE_TEST_PERIOD 20000
140 #define EXT1_JAM_PIN -1
141 #define EXT1_JAM_PULLUP 0
142 
143 #define FEATURE_RETRACTION 1
144 #define AUTORETRACT_ENABLED 0
145 #define RETRACTION_LENGTH 2
146 #define RETRACTION_LONG_LENGTH 13
147 #define RETRACTION_SPEED 60
148 #define RETRACTION_Z_LIFT 1
149 #define RETRACTION_UNDO_EXTRA_LENGTH 0
150 #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
151 #define RETRACTION_UNDO_SPEED 20
152 #define FILAMENTCHANGE_X_POS 0
153 #define FILAMENTCHANGE_Y_POS 0
154 #define FILAMENTCHANGE_Z_ADD 1
155 #define FILAMENTCHANGE_REHOME 2
156 #define FILAMENTCHANGE_SHORTRETRACT 5
157 #define FILAMENTCHANGE_LONGRETRACT 50
158 #define JAM_STEPS 220
159 #define JAM_SLOWDOWN_STEPS 320
160 #define JAM_SLOWDOWN_TO 70
161 #define JAM_ERROR_STEPS 500
162 #define JAM_MIN_STEPS 10
163 #define JAM_ACTION 1
164 
165 #define RETRACT_DURING_HEATUP true
166 #define PID_CONTROL_RANGE 40
167 #define SKIP_M109_IF_WITHIN 2
168 #define SCALE_PID_TO_MAX 0
169 #define TEMP_HYSTERESIS 0
170 #define EXTRUDE_MAXLENGTH 160
171 #define NUM_TEMPS_USERTHERMISTOR0 0
172 #define USER_THERMISTORTABLE0 {}
173 #define NUM_TEMPS_USERTHERMISTOR1 0
174 #define USER_THERMISTORTABLE1 {}
175 #define NUM_TEMPS_USERTHERMISTOR2 0
176 #define USER_THERMISTORTABLE2 {}
177 #define GENERIC_THERM_VREF 5
178 #define GENERIC_THERM_NUM_ENTRIES 33
179 #define HEATER_PWM_SPEED 2
180 
181 // ############# Heated bed configuration ########################
182 
183 #define HAVE_HEATED_BED 0
184 #define HEATED_BED_MAX_TEMP 120
185 #define SKIP_M190_IF_WITHIN 3
186 #define HEATED_BED_SENSOR_TYPE 1
187 #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
188 #define HEATED_BED_HEATER_PIN HEATER_1_PIN
189 #define HEATED_BED_SET_INTERVAL 5000
190 #define HEATED_BED_HEAT_MANAGER 0
191 #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
192 #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
193 #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME 196
194 #define HEATED_BED_PID_IGAIN 33
195 #define HEATED_BED_PID_DGAIN 290
196 #define HEATED_BED_PID_MAX 255
197 #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
198 #define MIN_EXTRUDER_TEMP 100
199 #define MAXTEMP 220
200 #define MIN_DEFECT_TEMPERATURE -10
201 #define MAX_DEFECT_TEMPERATURE 225
202 
203 // ##########################################################################################
204 // ## Laser configuration ##
205 // ##########################################################################################
206 
207 /*
208 If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
209 Please use this feature only if you know about safety and required protection. Lasers are
210 dangerous and can hurt or make you blind!!!
211 
212 The default laser driver only supports laser on and off. Here you control the eĆ­ntensity with
213 your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
214 you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
215 and comments on how to extend the functions non invasive with our event system.
216 
217 If you have a laser - powder system you will like your E override. If moves contain a
218 increasing extruder position it will laser that move. With this trick you can
219 use existing fdm slicers to laser the output. Laser width is extrusion width.
220 
221 Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
222 and G0 moves have it disables.
223 
224 In any case, laser only enables while moving. At the end of a move it gets
225 automatically disabled.
226 */
227 
228 #define SUPPORT_LASER 0
229 #define LASER_PIN -1
230 #define LASER_ON_HIGH 1
231 
232 // ## CNC configuration ##
233 
234 /*
235 If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
236 similar to laser mode, but mill keeps enabled during G0 moves and it allows
237 setting rpm (only with event extension that supports this) and milling direction.
238 It also can add a delay to wait for spindle to run on full speed.
239 */
240 
241 #define SUPPORT_CNC 1
242 #define CNC_WAIT_ON_ENABLE 300
243 #define CNC_WAIT_ON_DISABLE 0
244 #define CNC_ENABLE_PIN -1
245 #define CNC_ENABLE_WITH 1
246 #define CNC_DIRECTION_PIN -1
247 #define CNC_DIRECTION_CW 1
248 
249 
250 #define DEFAULT_PRINTER_MODE 0
251 
252 // ################ Endstop configuration #####################
253 
254 #define ENDSTOP_PULLUP_X_MIN true
255 #define ENDSTOP_X_MIN_INVERTING true
256 #define MIN_HARDWARE_ENDSTOP_X true
257 #define ENDSTOP_PULLUP_Y_MIN true
258 #define ENDSTOP_Y_MIN_INVERTING true
259 #define MIN_HARDWARE_ENDSTOP_Y true
260 #define ENDSTOP_PULLUP_Z_MIN true
261 #define ENDSTOP_Z_MIN_INVERTING true
262 #define MIN_HARDWARE_ENDSTOP_Z true
263 #define ENDSTOP_PULLUP_X_MAX true
264 #define ENDSTOP_X_MAX_INVERTING false
265 #define MAX_HARDWARE_ENDSTOP_X false
266 #define ENDSTOP_PULLUP_Y_MAX true
267 #define ENDSTOP_Y_MAX_INVERTING false
268 #define MAX_HARDWARE_ENDSTOP_Y false
269 #define ENDSTOP_PULLUP_Z_MAX true
270 #define ENDSTOP_Z_MAX_INVERTING false
271 #define MAX_HARDWARE_ENDSTOP_Z false
272 #define max_software_endstop_r true
273 
274 #define min_software_endstop_x false
275 #define min_software_endstop_y false
276 #define min_software_endstop_z false
277 #define max_software_endstop_x true
278 #define max_software_endstop_y true
279 #define max_software_endstop_z true
280 #define ENDSTOP_X_BACK_MOVE 2
281 #define ENDSTOP_Y_BACK_MOVE 2
282 #define ENDSTOP_Z_BACK_MOVE 2
283 #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 4
284 #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 4
285 #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 5
286 #define ENDSTOP_X_BACK_ON_HOME 2
287 #define ENDSTOP_Y_BACK_ON_HOME 2
288 #define ENDSTOP_Z_BACK_ON_HOME 0
289 #define ALWAYS_CHECK_ENDSTOPS 1
290 
291 // ################# XYZ movements ###################
292 
293 #define X_ENABLE_ON 0
294 #define Y_ENABLE_ON 0
295 #define Z_ENABLE_ON 0
296 #define DISABLE_X 0
297 #define DISABLE_Y 0
298 #define DISABLE_Z 0
299 #define DISABLE_E 0
300 #define INVERT_X_DIR 0
301 #define INVERT_Y_DIR 0
302 #define INVERT_Z_DIR 0
303 #define X_HOME_DIR -1
304 #define Y_HOME_DIR -1
305 #define Z_HOME_DIR -1
306 #define X_MAX_LENGTH 250
307 #define Y_MAX_LENGTH 150
308 #define Z_MAX_LENGTH 90
309 #define X_MIN_POS 0
310 #define Y_MIN_POS 0
311 #define Z_MIN_POS 0
312 #define DISTORTION_CORRECTION 0
313 #define DISTORTION_CORRECTION_POINTS 5
314 #define DISTORTION_CORRECTION_R 100
315 #define DISTORTION_PERMANENT 1
316 #define DISTORTION_UPDATE_FREQUENCY 15
317 #define DISTORTION_START_DEGRADE 0.5
318 #define DISTORTION_END_HEIGHT 1
319 #define DISTORTION_EXTRAPOLATE_CORNERS 0
320 
321 // ##########################################################################################
322 // ## Movement settings ##
323 // ##########################################################################################
324 
325 #define FEATURE_BABYSTEPPING 1
326 #define BABYSTEP_MULTIPLICATOR 1
327 
328 #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
329 #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
330 #define EXACT_DELTA_MOVES 1
331 
332 // Delta settings
333 #define DELTA_HOME_ON_POWER 0
334 
335 #define DELTASEGMENTS_PER_PRINTLINE 24
336 #define STEPPER_INACTIVE_TIME 120L
337 #define MAX_INACTIVE_TIME 0L
338 #define MAX_FEEDRATE_X 100
339 #define MAX_FEEDRATE_Y 100
340 #define MAX_FEEDRATE_Z 100
341 #define HOMING_FEEDRATE_X 80
342 #define HOMING_FEEDRATE_Y 80
343 #define HOMING_FEEDRATE_Z 40
344 #define HOMING_ORDER HOME_ORDER_YXZ
345 #define ZHOME_MIN_TEMPERATURE 0
346 #define ZHOME_HEAT_ALL 1
347 #define ZHOME_HEAT_HEIGHT 20
348 #define ZHOME_X_POS 999999
349 #define ZHOME_Y_POS 999999
350 #define ENABLE_BACKLASH_COMPENSATION 0
351 #define X_BACKLASH 0
352 #define Y_BACKLASH 0
353 #define Z_BACKLASH 0
354 #define RAMP_ACCELERATION 1
355 #define STEPPER_HIGH_DELAY 0
356 #define DIRECTION_DELAY 0
357 #define STEP_DOUBLER_FREQUENCY 12000
358 #define ALLOW_QUADSTEPPING 1
359 #define DOUBLE_STEP_DELAY 1 // time in microseconds
360 #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 250
361 #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 250
362 #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
363 #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 250
364 #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 250
365 #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
366 #define INTERPOLATE_ACCELERATION_WITH_Z 0
367 #define ACCELERATION_FACTOR_TOP 100
368 #define MAX_JERK 30
369 #define MAX_ZJERK 0.3
370 #define PRINTLINE_CACHE_SIZE 24
371 #define MOVE_CACHE_LOW 10
372 #define LOW_TICKS_PER_MOVE 250000
373 #define FEATURE_TWO_XSTEPPER 0
374 #define X2_STEP_PIN ORIG_E1_STEP_PIN
375 #define X2_DIR_PIN ORIG_E1_DIR_PIN
376 #define X2_ENABLE_PIN E1_ENABLE_PIN
377 #define FEATURE_TWO_YSTEPPER 0
378 #define Y2_STEP_PIN ORIG_E1_STEP_PIN
379 #define Y2_DIR_PIN ORIG_E1_DIR_PIN
380 #define Y2_ENABLE_PIN E1_ENABLE_PIN
381 #define FEATURE_TWO_ZSTEPPER 0
382 #define Z2_STEP_PIN ORIG_E1_STEP_PIN
383 #define Z2_DIR_PIN ORIG_E1_DIR_PIN
384 #define Z2_ENABLE_PIN E1_ENABLE_PIN
385 #define FEATURE_THREE_ZSTEPPER 0
386 #define Z3_STEP_PIN ORIG_E2_STEP_PIN
387 #define Z3_DIR_PIN ORIG_E2_DIR_PIN
388 #define Z3_ENABLE_PIN E2_ENABLE_PIN
389 #define FEATURE_DITTO_PRINTING 1
390 #define USE_ADVANCE 1
391 #define ENABLE_QUADRATIC_ADVANCE 1
392 
393 
394 // ################# Misc. settings ##################
395 
396 #define BAUDRATE 250000
397 #define ENABLE_POWER_ON_STARTUP 1
398 #define POWER_INVERTING 0
399 #define KILL_METHOD 1
400 #define ACK_WITH_LINENUMBER 1
401 #define WAITING_IDENTIFIER "wait"
402 #define ECHO_ON_EXECUTE 1
403 #define EEPROM_MODE 1
404 #undef PS_ON_PIN
405 #define PS_ON_PIN ORIG_PS_ON_PIN
406 
407 /* ======== Servos =======
408 Control the servos with
409 M340 P<servoId> S<pulseInUS> / ServoID = 0..3 pulseInUs = 500..2500
410 Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
411 WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
412 */
413 #define FEATURE_SERVO 0
414 #define SERVO0_PIN 11
415 #define SERVO1_PIN -1
416 #define SERVO2_PIN -1
417 #define SERVO3_PIN -1
418 #define SERVO0_NEUTRAL_POS -1
419 #define SERVO1_NEUTRAL_POS -1
420 #define SERVO2_NEUTRAL_POS -1
421 #define SERVO3_NEUTRAL_POS -1
422 #define UI_SERVO_CONTROL 0
423 #define FAN_KICKSTART_TIME 200
424 
425  #define FEATURE_WATCHDOG 1
426 
427 // #################### Z-Probing #####################
428 
429 #define Z_PROBE_Z_OFFSET 0
430 #define Z_PROBE_Z_OFFSET_MODE 0
431 #define UI_BED_COATING 1
432 #define FEATURE_Z_PROBE 1
433 #define Z_PROBE_BED_DISTANCE 10
434 #define Z_PROBE_PIN ORIG_Z_MAX_PIN
435 #define Z_PROBE_PULLUP 1
436 #define Z_PROBE_ON_HIGH 1
437 #define Z_PROBE_X_OFFSET 0
438 #define Z_PROBE_Y_OFFSET 0
439 #define Z_PROBE_WAIT_BEFORE_TEST 1
440 #define Z_PROBE_SPEED 2
441 #define Z_PROBE_XY_SPEED 150
442 #define Z_PROBE_SWITCHING_DISTANCE 2
443 #define Z_PROBE_REPETITIONS 1
444 #define Z_PROBE_HEIGHT 40
445 #define Z_PROBE_START_SCRIPT ""
446 #define Z_PROBE_FINISHED_SCRIPT ""
447 #define FEATURE_AUTOLEVEL 0
448 #define Z_PROBE_X1 30
449 #define Z_PROBE_Y1 20
450 #define Z_PROBE_X2 250
451 #define Z_PROBE_Y2 20
452 #define Z_PROBE_X3 120
453 #define Z_PROBE_Y3 160
454 #define BENDING_CORRECTION_A 0
455 #define BENDING_CORRECTION_B 0
456 #define BENDING_CORRECTION_C 0
457 #define FEATURE_AXISCOMP 0
458 #define AXISCOMP_TANXY 0
459 #define AXISCOMP_TANYZ 0
460 #define AXISCOMP_TANXZ 0
461 
462 #ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h
463 #define SDSUPPORT 0
464 #undef SDCARDDETECT
465 #define SDCARDDETECT -1
466 #define SDCARDDETECTINVERTED 0
467 #endif
468 #define SD_EXTENDED_DIR 1
469 #define SD_RUN_ON_STOP ""
470 #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
471 #define ARC_SUPPORT 1
472 #define FEATURE_MEMORY_POSITION 1
473 #define FEATURE_CHECKSUM_FORCED 0
474 #define FEATURE_FAN_CONTROL 1
475 #define FEATURE_CONTROLLER 11
476 #define LANGUAGE_EN_ACTIVE 1
477 #define LANGUAGE_DE_ACTIVE 1
478 #define LANGUAGE_NL_ACTIVE 1
479 #define LANGUAGE_PT_ACTIVE 1
480 #define LANGUAGE_IT_ACTIVE 1
481 #define LANGUAGE_ES_ACTIVE 1
482 #define LANGUAGE_SE_ACTIVE 1
483 #define LANGUAGE_FR_ACTIVE 1
484 #define LANGUAGE_CZ_ACTIVE 1
485 #define LANGUAGE_PL_ACTIVE 1
486 #define UI_PRINTER_NAME "iRapid White"
487 #define UI_PRINTER_COMPANY ""
488 #define UI_PAGES_DURATION 4000
489 #define UI_ANIMATION 0
490 #define UI_SPEEDDEPENDENT_POSITIONING 0
491 #define UI_DISABLE_AUTO_PAGESWITCH 1
492 #define UI_AUTORETURN_TO_MENU_AFTER 60000
493 #define FEATURE_UI_KEYS 0
494 #define UI_ENCODER_SPEED 1
495 #define UI_REVERSE_ENCODER 0
496 #define UI_KEY_BOUNCETIME 10
497 #define UI_KEY_FIRST_REPEAT 500
498 #define UI_KEY_REDUCE_REPEAT 50
499 #define UI_KEY_MIN_REPEAT 50
500 #define FEATURE_BEEPER 1
501 #define CASE_LIGHTS_PIN -1
502 #define CASE_LIGHT_DEFAULT_ON 1
503 #define UI_START_SCREEN_DELAY 1000
504 #define UI_DYNAMIC_ENCODER_SPEED 1
505 
511 #define BEEPER_SHORT_SEQUENCE 2,2
512 #define BEEPER_LONG_SEQUENCE 8,8
513 #define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60
514 #define UI_SET_PRESET_EXTRUDER_TEMP_PLA 200
515 #define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110
516 #define UI_SET_PRESET_EXTRUDER_TEMP_ABS 200
517 #define UI_SET_MIN_HEATED_BED_TEMP 30
518 #define UI_SET_MAX_HEATED_BED_TEMP 120
519 #define UI_SET_MIN_EXTRUDER_TEMP 195
520 #define UI_SET_MAX_EXTRUDER_TEMP 200
521 #define UI_SET_EXTRUDER_FEEDRATE 2
522 #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
523 
524 
525 #define NUM_MOTOR_DRIVERS 0
526 
527 
528 
529 #endif
530 
531 /* Below you will find the configuration string, that created this Configuration.h
532 
533 ========== Start configuration string ==========
534 {
535  "editMode": 2,
536  "processor": 0,
537  "baudrate": 250000,
538  "bluetoothSerial": -1,
539  "bluetoothBaudrate": 115200,
540  "xStepsPerMM": 102,
541  "yStepsPerMM": 102,
542  "zStepsPerMM": 102,
543  "xInvert": 0,
544  "xInvertEnable": 0,
545  "eepromMode": 1,
546  "yInvert": 0,
547  "yInvertEnable": 0,
548  "zInvert": 0,
549  "zInvertEnable": 0,
550  "extruder": [
551  {
552  "id": 0,
553  "heatManager": 3,
554  "pidDriveMin": 40,
555  "pidDriveMax": 200,
556  "pidMax": 225,
557  "sensorType": 1,
558  "sensorPin": "TEMP_0_PIN",
559  "heaterPin": "HEATER_0_PIN",
560  "maxFeedrate": 100,
561  "startFeedrate": 50,
562  "invert": "0",
563  "invertEnable": "0",
564  "acceleration": 10000,
565  "watchPeriod": 1,
566  "pidP": 4.5,
567  "pidI": 2,
568  "pidD": 40,
569  "advanceK": 0,
570  "advanceL": 0,
571  "waitRetractTemp": 150,
572  "waitRetractUnits": 0,
573  "waitRetract": 0,
574  "stepsPerMM": 150,
575  "coolerPin": -1,
576  "coolerSpeed": 255,
577  "selectCommands": "",
578  "deselectCommands": "",
579  "xOffset": -21,
580  "yOffset": 0,
581  "zOffset": 0,
582  "xOffsetSteps": -2142,
583  "yOffsetSteps": 0,
584  "zOffsetSteps": 0,
585  "stepper": {
586  "name": "Extruder 0",
587  "step": "ORIG_E0_STEP_PIN",
588  "dir": "ORIG_E0_DIR_PIN",
589  "enable": "E0_ENABLE_PIN"
590  },
591  "advanceBacklashSteps": 0,
592  "decoupleTestPeriod": 20,
593  "jamPin": -1,
594  "jamPullup": "0",
595  "inverse": 0
596  },
597  {
598  "id": 1,
599  "heatManager": 3,
600  "pidDriveMin": 40,
601  "pidDriveMax": 200,
602  "pidMax": 225,
603  "sensorType": 1,
604  "sensorPin": "TEMP_1_PIN",
605  "heaterPin": "HEATER_2_PIN",
606  "maxFeedrate": 100,
607  "startFeedrate": 50,
608  "invert": "0",
609  "invertEnable": "0",
610  "acceleration": 10000,
611  "watchPeriod": 1,
612  "pidP": 4.5,
613  "pidI": 2,
614  "pidD": 40,
615  "advanceK": 0,
616  "advanceL": 0,
617  "waitRetractTemp": 150,
618  "waitRetractUnits": 0,
619  "waitRetract": 0,
620  "stepsPerMM": 150,
621  "coolerPin": -1,
622  "coolerSpeed": 255,
623  "selectCommands": "",
624  "deselectCommands": "",
625  "xOffset": 21,
626  "yOffset": 0,
627  "zOffset": 0,
628  "xOffsetSteps": 2142,
629  "yOffsetSteps": 0,
630  "zOffsetSteps": 0,
631  "stepper": {
632  "name": "Extruder 1",
633  "step": "ORIG_E1_STEP_PIN",
634  "dir": "ORIG_E1_DIR_PIN",
635  "enable": "E1_ENABLE_PIN"
636  },
637  "advanceBacklashSteps": 0,
638  "decoupleTestPeriod": 20,
639  "jamPin": -1,
640  "jamPullup": "0"
641  }
642  ],
643  "uiLanguage": 1,
644  "uiController": 0,
645  "xMinEndstop": 1,
646  "yMinEndstop": 1,
647  "zMinEndstop": 1,
648  "xMaxEndstop": 0,
649  "yMaxEndstop": 0,
650  "zMaxEndstop": 0,
651  "motherboard": 33,
652  "driveSystem": 0,
653  "xMaxSpeed": 100,
654  "xHomingSpeed": 80,
655  "xTravelAcceleration": 250,
656  "xPrintAcceleration": 250,
657  "yMaxSpeed": 100,
658  "yHomingSpeed": 80,
659  "yTravelAcceleration": 250,
660  "yPrintAcceleration": 250,
661  "zMaxSpeed": 100,
662  "zHomingSpeed": 40,
663  "zTravelAcceleration": 100,
664  "zPrintAcceleration": 100,
665  "xMotor": {
666  "name": "X motor",
667  "step": "ORIG_X_STEP_PIN",
668  "dir": "ORIG_X_DIR_PIN",
669  "enable": "ORIG_X_ENABLE_PIN"
670  },
671  "yMotor": {
672  "name": "Y motor",
673  "step": "ORIG_Y_STEP_PIN",
674  "dir": "ORIG_Y_DIR_PIN",
675  "enable": "ORIG_Y_ENABLE_PIN"
676  },
677  "zMotor": {
678  "name": "Z motor",
679  "step": "ORIG_Z_STEP_PIN",
680  "dir": "ORIG_Z_DIR_PIN",
681  "enable": "ORIG_Z_ENABLE_PIN"
682  },
683  "enableBacklash": "0",
684  "backlashX": 0,
685  "backlashY": 0,
686  "backlashZ": 0,
687  "stepperInactiveTime": 120,
688  "maxInactiveTime": 0,
689  "xMinPos": 0,
690  "yMinPos": 0,
691  "zMinPos": 0,
692  "xLength": 250,
693  "yLength": 150,
694  "zLength": 90,
695  "alwaysCheckEndstops": "1",
696  "disableX": "0",
697  "disableY": "0",
698  "disableZ": "0",
699  "disableE": "0",
700  "xHomeDir": "-1",
701  "yHomeDir": "-1",
702  "zHomeDir": "-1",
703  "xEndstopBack": 2,
704  "yEndstopBack": 2,
705  "zEndstopBack": 0,
706  "deltaSegmentsPerSecondPrint": 180,
707  "deltaSegmentsPerSecondTravel": 70,
708  "deltaDiagonalRod": 445,
709  "deltaHorizontalRadius": 209.25,
710  "deltaAlphaA": 210,
711  "deltaAlphaB": 330,
712  "deltaAlphaC": 90,
713  "deltaDiagonalCorrA": 0,
714  "deltaDiagonalCorrB": 0,
715  "deltaDiagonalCorrC": 0,
716  "deltaMaxRadius": 150,
717  "deltaFloorSafetyMarginMM": 15,
718  "deltaRadiusCorrA": 0,
719  "deltaRadiusCorrB": 0,
720  "deltaRadiusCorrC": 0,
721  "deltaXOffsetSteps": 0,
722  "deltaYOffsetSteps": 0,
723  "deltaZOffsetSteps": 0,
724  "deltaSegmentsPerLine": 24,
725  "stepperHighDelay": 0,
726  "directionDelay": 0,
727  "stepDoublerFrequency": 12000,
728  "allowQuadstepping": "1",
729  "doubleStepDelay": 1,
730  "maxJerk": 30,
731  "maxZJerk": 0.3,
732  "moveCacheSize": 24,
733  "moveCacheLow": 10,
734  "lowTicksPerMove": 250000,
735  "enablePowerOnStartup": "1",
736  "echoOnExecute": "1",
737  "sendWaits": "1",
738  "ackWithLineNumber": "1",
739  "killMethod": 1,
740  "useAdvance": "1",
741  "useQuadraticAdvance": "1",
742  "powerInverting": 0,
743  "mirrorX": 0,
744  "mirrorXMotor": {
745  "name": "Extruder 1",
746  "step": "ORIG_E1_STEP_PIN",
747  "dir": "ORIG_E1_DIR_PIN",
748  "enable": "E1_ENABLE_PIN"
749  },
750  "mirrorY": "0",
751  "mirrorYMotor": {
752  "name": "Extruder 1",
753  "step": "ORIG_E1_STEP_PIN",
754  "dir": "ORIG_E1_DIR_PIN",
755  "enable": "E1_ENABLE_PIN"
756  },
757  "mirrorZ": 0,
758  "mirrorZMotor": {
759  "name": "Extruder 1",
760  "step": "ORIG_E1_STEP_PIN",
761  "dir": "ORIG_E1_DIR_PIN",
762  "enable": "E1_ENABLE_PIN"
763  },
764  "mirrorZ3": "0",
765  "mirrorZ3Motor": {
766  "name": "Extruder 2",
767  "step": "ORIG_E2_STEP_PIN",
768  "dir": "ORIG_E2_DIR_PIN",
769  "enable": "E2_ENABLE_PIN"
770  },
771  "dittoPrinting": "1",
772  "featureServos": "0",
773  "servo0Pin": 11,
774  "servo1Pin": -1,
775  "servo2Pin": -1,
776  "servo3Pin": -1,
777  "featureWatchdog": "1",
778  "hasHeatedBed": "0",
779  "enableZProbing": "1",
780  "extrudeMaxLength": 160,
781  "homeOrder": "HOME_ORDER_YXZ",
782  "featureController": 11,
783  "uiPrinterName": "iRapid White",
784  "uiPrinterCompany": "",
785  "uiPagesDuration": 4000,
786  "uiAnimation": "0",
787  "uiDisablePageswitch": "1",
788  "uiAutoReturnAfter": 60000,
789  "featureKeys": "0",
790  "uiEncoderSpeed": 1,
791  "uiReverseEncoder": "0",
792  "uiKeyBouncetime": 10,
793  "uiKeyFirstRepeat": 500,
794  "uiKeyReduceRepeat": 50,
795  "uiKeyMinRepeat": 50,
796  "featureBeeper": "1",
797  "uiPresetBedTempPLA": 60,
798  "uiPresetBedABS": 110,
799  "uiPresetExtruderPLA": 200,
800  "uiPresetExtruderABS": 200,
801  "uiMinHeatedBed": 30,
802  "uiMaxHeatedBed": 120,
803  "uiMinEtxruderTemp": 195,
804  "uiMaxExtruderTemp": 200,
805  "uiExtruderFeedrate": 2,
806  "uiExtruderRetractDistance": 3,
807  "uiSpeeddependentPositioning": "0",
808  "maxBedTemperature": 120,
809  "bedSensorType": 1,
810  "bedSensorPin": "TEMP_1_PIN",
811  "bedHeaterPin": "HEATER_1_PIN",
812  "bedHeatManager": 0,
813  "bedUpdateInterval": 5000,
814  "bedPidDriveMin": 80,
815  "bedPidDriveMax": 255,
816  "bedPidP": 196,
817  "bedPidI": 33,
818  "bedPidD": 290,
819  "bedPidMax": 255,
820  "bedDecoupleTestPeriod": 300,
821  "caseLightPin": -1,
822  "caseLightDefaultOn": "1",
823  "bedSkipIfWithin": 3,
824  "gen1T0": 25,
825  "gen1R0": 100000,
826  "gen1Beta": 4036,
827  "gen1MinTemp": -20,
828  "gen1MaxTemp": 300,
829  "gen1R1": 0,
830  "gen1R2": 4700,
831  "gen2T0": 25,
832  "gen2R0": 100000,
833  "gen2Beta": 4036,
834  "gen2MinTemp": -20,
835  "gen2MaxTemp": 300,
836  "gen2R1": 0,
837  "gen2R2": 4700,
838  "gen3T0": 25,
839  "gen3R0": 100000,
840  "gen3Beta": 4036,
841  "gen3MinTemp": -20,
842  "gen3MaxTemp": 300,
843  "gen3R1": 0,
844  "gen3R2": 4700,
845  "userTable0": {
846  "r1": 0,
847  "r2": 4700,
848  "temps": [],
849  "numEntries": 0
850  },
851  "userTable1": {
852  "r1": 0,
853  "r2": 4700,
854  "temps": [],
855  "numEntries": 0
856  },
857  "userTable2": {
858  "r1": 0,
859  "r2": 4700,
860  "temps": [],
861  "numEntries": 0
862  },
863  "tempHysteresis": 0,
864  "pidControlRange": 40,
865  "skipM109Within": 2,
866  "extruderFanCoolTemp": 50,
867  "minTemp": 100,
868  "maxTemp": 220,
869  "minDefectTemp": -10,
870  "maxDefectTemp": 225,
871  "arcSupport": "1",
872  "featureMemoryPositionWatchdog": "1",
873  "forceChecksum": "0",
874  "sdExtendedDir": "1",
875  "featureFanControl": "1",
876  "fanPin": 8,
877  "scalePidToMax": 0,
878  "zProbePin": "ORIG_Z_MAX_PIN",
879  "zProbeBedDistance": 10,
880  "zProbePullup": "1",
881  "zProbeOnHigh": "1",
882  "zProbeXOffset": 0,
883  "zProbeYOffset": 0,
884  "zProbeWaitBeforeTest": "1",
885  "zProbeSpeed": 2,
886  "zProbeXYSpeed": 150,
887  "zProbeHeight": 40,
888  "zProbeStartScript": "",
889  "zProbeFinishedScript": "",
890  "featureAutolevel": "0",
891  "zProbeX1": 30,
892  "zProbeY1": 20,
893  "zProbeX2": 250,
894  "zProbeY2": 20,
895  "zProbeX3": 120,
896  "zProbeY3": 160,
897  "zProbeSwitchingDistance": 2,
898  "zProbeRepetitions": 1,
899  "sdSupport": "0",
900  "sdCardDetectPin": -1,
901  "sdCardDetectInverted": "0",
902  "uiStartScreenDelay": 1000,
903  "xEndstopBackMove": 2,
904  "yEndstopBackMove": 2,
905  "zEndstopBackMove": 2,
906  "xEndstopRetestFactor": 4,
907  "yEndstopRetestFactor": 4,
908  "zEndstopRetestFactor": 5,
909  "xMinPin": "ORIG_X_MIN_PIN",
910  "yMinPin": "ORIG_Y_MIN_PIN",
911  "zMinPin": "ORIG_Z_MIN_PIN",
912  "xMaxPin": "ORIG_X_MAX_PIN",
913  "yMaxPin": "ORIG_Y_MAX_PIN",
914  "zMaxPin": "ORIG_Z_MAX_PIN",
915  "deltaHomeOnPower": "0",
916  "fanBoardPin": -1,
917  "heaterPWMSpeed": 2,
918  "featureBabystepping": "1",
919  "babystepMultiplicator": 1,
920  "pdmForHeater": "1",
921  "pdmForCooler": "1",
922  "psOn": "ORIG_PS_ON_PIN",
923  "mixingExtruder": "0",
924  "decouplingTestMaxHoldVariance": 20,
925  "decouplingTestMinTempRise": 1,
926  "featureAxisComp": "0",
927  "axisCompTanXY": 0,
928  "axisCompTanXZ": 0,
929  "axisCompTanYZ": 0,
930  "retractOnPause": 2,
931  "pauseStartCommands": "",
932  "pauseEndCommands": "",
933  "distortionCorrection": "0",
934  "distortionCorrectionPoints": 5,
935  "distortionCorrectionR": 100,
936  "distortionPermanent": "1",
937  "distortionUpdateFrequency": 15,
938  "distortionStartDegrade": 0.5,
939  "distortionEndDegrade": 1,
940  "distortionExtrapolateCorners": "0",
941  "sdRunOnStop": "",
942  "sdStopHeaterMotorsOnStop": "1",
943  "featureRetraction": "1",
944  "autoretractEnabled": "0",
945  "retractionLength": 2,
946  "retractionLongLength": 13,
947  "retractionSpeed": 60,
948  "retractionZLift": 1,
949  "retractionUndoExtraLength": 0,
950  "retractionUndoExtraLongLength": 0,
951  "retractionUndoSpeed": 20,
952  "filamentChangeXPos": 0,
953  "filamentChangeYPos": 0,
954  "filamentChangeZAdd": 1,
955  "filamentChangeRehome": 2,
956  "filamentChangeShortRetract": 5,
957  "filamentChangeLongRetract": 50,
958  "fanKickstart": 200,
959  "servo0StartPos": -1,
960  "servo1StartPos": -1,
961  "servo2StartPos": -1,
962  "servo3StartPos": -1,
963  "uiDynamicEncoderSpeed": "1",
964  "uiServoControl": 0,
965  "killIfSensorDefect": "0",
966  "jamSteps": 220,
967  "jamSlowdownSteps": 320,
968  "jamSlowdownTo": 70,
969  "jamErrorSteps": 500,
970  "jamMinSteps": 10,
971  "jamAction": 1,
972  "primaryPort": 0,
973  "numMotorDrivers": 0,
974  "motorDrivers": [
975  {
976  "t": "None",
977  "s": "",
978  "invertEnable": "0",
979  "invertDirection": "0",
980  "stepsPerMM": 100,
981  "speed": 10,
982  "dirPin": -1,
983  "stepPin": -1,
984  "enablePin": -1
985  },
986  {
987  "t": "None",
988  "s": "",
989  "invertEnable": "0",
990  "invertDirection": "0",
991  "stepsPerMM": 100,
992  "speed": 10,
993  "dirPin": -1,
994  "stepPin": -1,
995  "enablePin": -1
996  },
997  {
998  "t": "None",
999  "s": "",
1000  "invertEnable": "0",
1001  "invertDirection": "0",
1002  "stepsPerMM": 100,
1003  "speed": 10,
1004  "dirPin": -1,
1005  "stepPin": -1,
1006  "enablePin": -1
1007  },
1008  {
1009  "t": "None",
1010  "s": "",
1011  "invertEnable": "0",
1012  "invertDirection": "0",
1013  "stepsPerMM": 100,
1014  "speed": 10,
1015  "dirPin": -1,
1016  "stepPin": -1,
1017  "enablePin": -1
1018  },
1019  {
1020  "t": "None",
1021  "s": "",
1022  "invertEnable": "0",
1023  "invertDirection": "0",
1024  "stepsPerMM": 100,
1025  "speed": 10,
1026  "dirPin": -1,
1027  "stepPin": -1,
1028  "enablePin": -1
1029  },
1030  {
1031  "t": "None",
1032  "s": "",
1033  "invertEnable": "0",
1034  "invertDirection": "0",
1035  "stepsPerMM": 100,
1036  "speed": 10,
1037  "dirPin": -1,
1038  "stepPin": -1,
1039  "enablePin": -1
1040  }
1041  ],
1042  "manualConfig": "",
1043  "zHomeMinTemperature": 0,
1044  "zHomeXPos": 999999,
1045  "zHomeYPos": 999999,
1046  "zHomeHeatHeight": 20,
1047  "zHomeHeatAll": "1",
1048  "zProbeZOffsetMode": 0,
1049  "zProbeZOffset": 0,
1050  "uiBedCoating": "1",
1051  "langEN": "1",
1052  "langDE": "1",
1053  "langNL": "1",
1054  "langPT": "1",
1055  "langIT": "1",
1056  "langES": "1",
1057  "langSE": "1",
1058  "langFR": "1",
1059  "langCZ": "1",
1060  "langPL": "1",
1061  "interpolateAccelerationWithZ": 0,
1062  "accelerationFactorTop": 100,
1063  "bendingCorrectionA": 0,
1064  "bendingCorrectionB": 0,
1065  "bendingCorrectionC": 0,
1066  "preventZDisableOnStepperTimeout": "0",
1067  "supportLaser": "0",
1068  "laserPin": -1,
1069  "laserOnHigh": "1",
1070  "defaultPrinterMode": 0,
1071  "supportCNC": "1",
1072  "cncWaitOnEnable": 300,
1073  "cncWaitOnDisable": 0,
1074  "cncEnablePin": -1,
1075  "cncEnableWith": "1",
1076  "cncDirectionPin": -1,
1077  "cncDirectionCW": "1",
1078  "maxHalfstepInterval": 1999,
1079  "hasMAX6675": false,
1080  "hasMAX31855": false,
1081  "hasGeneric1": false,
1082  "hasGeneric2": false,
1083  "hasGeneric3": false,
1084  "hasUser0": false,
1085  "hasUser1": false,
1086  "hasUser2": false,
1087  "numExtruder": 2,
1088  "version": 92.6,
1089  "primaryPortName": ""
1090 }
1091 ========== End configuration string ==========
1092 
1093 */